package cn.com.chengmandian.bike.model.vo;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;

@Data
@ApiModel("路径规划Route")
public class RouteVo {

    @ApiModelProperty("方案路线坐标点串（该点串经过压缩，解压请参考：polyline 坐标解压）")
    private BigDecimal[] polyline;

    @ApiModelProperty("起点和终点的距离，单位：米")
    private Integer distance;

    @ApiModelProperty("时间预计，单位：秒")
    private Integer duration;

    @ApiModelProperty("步骤")
    private List<JSONObject> steps;
}
